<script type="text/javascript" src="/Inc/AspBox/jsLib/dojo.js"></script>
<script type="text/javascript">
var params = {
	username: 'jack',
	id: '151'
}
function helloworld(){
	//将Ajax请求页面：testparams.php?username=jack&id=151
	dojo.xhrGet({
	url: "testparams.php",
	content: params,
	method: "Get",
	handleAs: "text",
	load: responsevalue,
	error: responseError
	});
}

function responsevalue(responseText){
	alert(responseText);
	//dojo.byId("show").value = responseText;
}           
function responseError(response){
	alert("Error");
}    
</script>
<input type="button" value="Test" onclick="helloworld();" >
<div id="show"></div>
